package com.itrus.contract.extension.shardinsphere.enumeration;


import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TableRulesEnum {

    NORMAL(0,"原表",""),
    YEAR(1,"年表","yyyy"),
    MONTH(2,"月表","yyyyMM"),
    DAY(3,"日表","yyyyMMdd"),

    ;

    @EnumValue
    private int index;
    private String description;
    private String format;


}
